package com.gugu.procedure.dao;

import com.gugu.procedure.bean.WorkDone;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface WorkDoneDao extends JpaRepository<WorkDone, Long>, JpaSpecificationExecutor<WorkDone> {

    WorkDone findTopByOrderNoAndSpecsAndNumber1AndNumber2(String orderNo, String specs, String number1, String number2);


    void deleteAllByOrderNo(String orderNo);
}
